package com.xingu.xg.po.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "零件树修改 Request VO")
@Data
public class PartUpdateReqVO {

    @Schema(description = "id", required = true, example = "1024")
    @NotNull(message = "id不能为空")
    private Long id;

    @Schema(description="名称", required = true, example = "节点名称")
    private String name;

    @Schema(description="父id")
    private Long parentId;

}
